import {Component} from 'react';
import observer from '../assets/js/observer'

class Home extends Component {
    render() {
        return (
            <div>
                <button onClick={() => observer.dispatch('这是我要传递的数据')}>点击传值给About</button>
            </div>
        )
    }
}

export default Home
